def sex(val):
    if val == None:
        return "null"
    elif val:
        return 'true'
    else:
        return 'false'

def sex2(val):
    if val == None:
        return "未设置"
    elif val:
        return '男'
    else:
        return '女'
